import { ref, computed,reactive } from 'vue'
import { defineStore } from 'pinia'



export const useRouterStore = defineStore('routerStore',()=>{
  const routerStore = reactive({
    mode:null
  })
  const mode = ref("")
  function clearRouterMode(){
    // routerStore.mode = null
    mode.value = ""
  }
  return {
    routerStore,
    clearRouterMode,
    mode
  }

})
